<template>
  <view class="btn" @click="lookPage">返回页面预览</view>
</template>

<script>
  export default {
    methods: {
      lookPage() {
        uni.navigateTo({
          url: '/pages/allPage'
        })
      }
    }
  }
</script>

<style>
  .btn {
    text-align: center;
    background-color: #18B566;
    position: fixed;
    bottom: 55px;
    right: 10rpx;
    padding: 4rpx 20rpx;
    border-radius: 10rpx;
    color: #FFFFFF;
  }
</style>
